package com.ruoyi.common.security.feign;


import feign.RequestInterceptor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Feign配置注册
 *
 * @author ruoyi
 **/
@Configuration
public class MyTestFeignConfig
{
    private Logger logger = LoggerFactory.getLogger(MyTestFeignConfig.class);
    @Bean
    public RequestInterceptor mytestInterceptor()
    {
        return new MyTestInterceptor();
    }
}
